home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / infosrvr / dev / scott / WWW / NextStep / Implementation / old / HTString.h < prev    next >
C/C++ Source or Header  |  1992-11-23  |  714b  |  24 lines

  1. /*        Case-independent string comparison        HTString.h
  2. **        and allocations with copies
  3. */
  4. #ifndef HTSTRING_H
  5. #define HTSTRING_H
  6.  
  7. #include "HTUtils.h"
  8.  
  9. extern int WWW_TraceFlag;    /* Global flag for all W3 trace */
  10.  
  11. extern CONST char * HTLibraryVersion;    /* String for help screen etc */
  12.  
  13. extern int strcasecomp  PARAMS((CONST char *a, CONST char *b));
  14. extern int strncasecomp PARAMS((CONST char *a, CONST char *b, int n));
  15.  
  16. extern char * HTSACopy PARAMS ((char **dest, CONST char *src));
  17. extern char * HTSACat  PARAMS ((char **dest, CONST char *src));
  18.  
  19. /* Enable the old macro-like calling methods */
  20. #define StrAllocCopy(dest, src) HTSACopy (&(dest), src)
  21. #define StrAllocCat(dest, src)  HTSACat  (&(dest), src)
  22.  
  23. #endif
  24.